<%--
  Created by IntelliJ IDEA.
  User: 32698
  Date: 2019/11/27
  Time: 14:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //网站域名或ip后面的部分,即项目上下文路径
    String path = request.getContextPath();
//访问基准路径,该页面上的相对路径需要扣上的前缀
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!-- 设置基准路径生效 -->
<base href="<%=basePath%>">

<html>
<head>
    <meta charset="utf-8">
    <title>基金列表页</title>
    <link rel="icon" href="favicon.ico">
    <link rel="stylesheet" href="iframe/layui/css/layui.css" media="all"/>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
    <script type="text/javascript" src="iframe/layui/layui.all.js"></script>
    <script type="text/javascript" src="iframe/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="static/js/fund.js"></script>
</head>
<body>
      <%--<a href="/sys/custodianlist">管理人</a>--%>
      <%--右边表格上方头部--%>
<div class="demoTable">
    <div class="layui-inline">
        <input class="layui-input" name="id" id="demoReload" autocomplete="off">
    </div>
    <button class="layui-btn" data-type="reload" id="seekBtn"><i class="layui-icon">&#xe615;</i></button>
</div>


    <%-- 表格数据--%>
    <table class="layui-hide" id="test" lay-filter="test"></table>
      <%-- 工具集--%>
      <script type="text/html" id="toolbarDemo">
          <div class="layui-btn-container">
              <button class="layui-btn" lay-event="getCheckData"><i class="layui-icon">&#xe642;</i>编辑</button>
              <button class="layui-btn layui-btn-normal" lay-event="add" id="btn_add"><i class="layui-icon">&#xe61f;</i>添加</button>
              <button class="layui-btn layui-btn-normal  layui-btn-danger" lay-event="delete"><i class="layui-icon">&#xe640;</i>删除</button>
          </div>
      </script>

      <!-- 添加和修改的弹出层开始 -->
      <div style="display: none;padding: 20px" id="saveOrUpdateDiv" req="">
          <form class="layui-form"  lay-filter="dataFrm" id="dataFrm">
              <%--1.--%>
              <div class="layui-form-item">
                  <div class="layui-inline">
                      <label class="layui-form-label">基金名:</label>
                      <div class="layui-input-inline">
                          <input type="hidden" id="fundId" name="fundId">
                          <input type="hidden" id="founNo" name="founNo">
                          <input type="text" id="fundName" name="fundName" lay-verify="required"   placeholder="" autocomplete="off"
                                 class="layui-input">
                      </div>
                  </div>

                  <div class="layui-inline">
                      <label class="layui-form-label">基金规模:</label>
                      <div class="layui-input-inline">
                          <input type="text" id="fundScale" name="fundScale" lay-verify="required"   placeholder="资金数量" autocomplete="off"
                                 class="layui-input">
                      </div>
                  </div>
              </div>

              <%--2.--%>
                  <div class="layui-form-item">
                      <div class="layui-inline">
                          <label class="layui-form-label">修改时间:</label>
                          <div class="layui-input-inline">
                              <input class="layui-input" id="createTime" type="text" placeholder="yyyy-MM-dd" name="createTime">
                          </div>
                      </div>
                      <div class="layui-inline">
                          <label class="layui-form-label">管理人:</label>
                          <div class="layui-input-inline">
                              <select name="custodianId" id="custodianId"  lay-search="" lay-verify="required">
                                  <%--从数据库拿值--%>
                                  <%-- <option value="">请选择基金管理人</option>--%>
                              </select>
                          </div>
                      </div>
                  </div>
              <%--3.--%>
              <%--4.--%>
                  <div class="layui-form-item">
                      <div class="layui-inline">
                          <label class="layui-form-label">托管人:</label>
                          <div class="layui-input-inline">
                              <select name="trusteeId" id="trusteeId"  lay-search="" lay-verify="required">
                                  <%--从数据库拿值--%>
                                  <%--<option value="">请选择基金托管人</option>--%>

                              </select>
                          </div>
                      </div>
                         <div class="layui-inline">
                             <label class="layui-form-label">成立日期:</label>
                             <div class="layui-input-inline">
                                 <input class="layui-input" <%--id="test5"--%> type="text" placeholder="yyyy-MM-dd HH:mm:ss"
                                        id="registerDate" name="registerDate" >
                             </div>
                         </div>
                  </div>

              <%--5.--%>
                  <div class="layui-form-item">
                      <div class="layui-inline">
                          <label class="layui-form-label">管理费率:</label>
                          <div class="layui-input-inline">
                              <input type="text" id="managementFee" name="managementFee" lay-verify="required"   placeholder="" autocomplete="off"
                                     class="layui-input">
                          </div>
                      </div>

                      <div class="layui-inline">
                          <label class="layui-form-label">托管费率:</label>
                          <div class="layui-input-inline">
                              <input type="text" id="hostingFees" name="hostingFees" lay-verify="required"   placeholder="" autocomplete="off"
                                     class="layui-input">
                          </div>
                      </div>
                  </div>

                  <%--6.--%>
                  <div class="layui-form-item">
                      <div class="layui-inline">
                          <label class="layui-form-label">基金类型:</label>
                          <div class="layui-input-inline">
                              <input type="text" id="fundType" name="fundType" lay-verify="required"   placeholder="" autocomplete="off"
                                     class="layui-input">
                          </div>
                      </div>

                      <div class="layui-inline">
                          <label class="layui-form-label">单位净值:</label>
                          <div class="layui-input-inline">
                              <input type="text" id="IOPV" name="IOPV" lay-verify="required"   placeholder="" autocomplete="off"
                                     class="layui-input">
                          </div>

                      </div>
                  </div>

                  <%--7.--%>
                  <div class="layui-form-item">
                      <div class="layui-inline">
                          <label class="layui-form-label">计费天数:</label>
                          <div class="layui-input-inline">
                              <input type="text" id="billingDays" name="billingDays" lay-verify="required"   placeholder="" autocomplete="off"
                                     class="layui-input">
                          </div>
                      </div>

                  </div>

                  <%--按钮--%>
                  <div class="layui-form-item" style="text-align: center;">
                      <div class="layui-input-block">
                          <button type="submit" id="submitBtn" class="layui-btn layui-btn-normal layui-btn-sm layui-icon layui-icon-release" lay-filter="doSubmit" lay-submit="">提交</button>
                          <button type="reset" class="layui-btn layui-btn-warm layui-btn-sm layui-icon layui-icon-refresh" >重置</button>
                      </div>
                  </div>

          </form>

      </div>


</body>
</html>
